package com.imooc.enums;

import lombok.Getter;

/**
 * 功能描述: <br>
 * (商品状态枚举类)
 *
 * @Author:Mr. xyb
 * @Date: 2018/5/18 17:38
 * @since: 1.8.0
 * @version: 1.0.0
 */
@Getter
public enum ProductStatusEnum implements CodeEnum<Integer>{
    UP(0, "在架"),
    DOWN(1, "下架");

    private Integer code;

    private String message;

    ProductStatusEnum(Integer code, String message) {
        this.code = code;
        this.message = message;
    }
}
